package com.ssy.lingxi.order.model.vo.basic.request;

import com.ssy.lingxi.common.model.vo.PageVO;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

/**
 * 业务员业绩-商品详情搜索条件VO
 * @author 郑小翠
 * @version 2.02.18
 * @date 2022-03-17
 */
public class MemberSalesCountCommodityVO extends PageVO {
    private static final long serialVersionUID = 2998725095576957140L;

    /**
     * 用户Id
     */
    @NotNull(message = "用户id不能为空")
    private Long userId;

    /**
     * 统计月份
     */
    @NotNull(message = "统计月份不能为空")
    private String countTime;

    /**
     * 商品名称
     */
    private String commodityName;

    /**
     * 品类名称
     */
    private String category;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCountTime() {
        return countTime;
    }

    public void setCountTime(String countTime) {
        this.countTime = countTime;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return "MemberSalesCountCommodityVO{" +
                "userId=" + userId +
                ", countTime=" + countTime +
                ", commodityName='" + commodityName + '\'' +
                ", category='" + category + '\'' +
                '}';
    }
}
